import { http } from '@/utils/request.js'

const businessInterfaceService = {
  list: (data) => {
    return http.get('/system/businessInterface/list', data)
  },
  update: (data) => {
    return http.post('/system/businessInterface/update', data)
  },
  add: (data) => {
    return http.post('/system/businessInterface/insert', data)
  },
  getDetail: (zlpromptId) => {
    return http.get(`/system/businessInterface/${zlpromptId}`)
  },
  delete: (id) => {
    return http.delete(`/system/businessInterface/${id}`)
  },
}
export default businessInterfaceService
